﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IUseCaseEngine.cs" company="">
//   
// </copyright>
// <summary>
//   The UseCaseEngine interface.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Libium.UseCases
{
    /// <summary>
    ///   The UseCaseEngine interface.
    /// </summary>
    public interface IUseCaseEngine
    {
        #region Public Methods and Operators

        /// <summary>
        /// The execute modal use case.
        /// </summary>
        /// <param name="useCase">
        /// The use case. 
        /// </param>
        /// <returns>
        /// The <see cref="CommandDefinition"/> . 
        /// </returns>
        CommandDefinition ExecuteModalUseCase(IUseCase useCase);

        #endregion
    }
}